package com.kingwang.training.designpattern.memento.bo.game;

import lombok.Data;

/**
 * 备忘录类
 *
 * @author King
 */
@Data
public class GameMemento {
    private final int hp;

    private final int exp;

    public GameMemento(int hp, int exp) {
        this.hp = hp;
        this.exp = exp;
    }
}
